package com.bw.mvi.mvi

import com.bw.mvi.model.PostListModel

/**
 * 密封类:状态
 */
sealed class PostsState {
    data class Success(val data: PostListModel) : PostsState()
    data class Error(val error: String) : PostsState()
    object Loading : PostsState()
    object Empty : PostsState()
}